package project.ekko.listener;

import com.github.kwhat.jnativehook.keyboard.NativeKeyEvent;
import com.github.kwhat.jnativehook.keyboard.NativeKeyListener;

public class GlobalKeyboardListener implements NativeKeyListener {

    @Override
    public void nativeKeyPressed(NativeKeyEvent event) {
        KeyPressed.pressed(new KeyEvent(event.getKeyCode(), System.currentTimeMillis()));
    }

}
